package org.linlinjava.litemall.db.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.linlinjava.litemall.db.models.OrderGoods;

import java.util.List;

public interface OrderGoodsService extends IService<OrderGoods> {

    public List<OrderGoods> queryByOid(Long orderId) ;

    public List<OrderGoods> findByOidAndGid(Long orderId, Long goodsId) ;

    public Short getComments(Long orderId);

    public boolean checkExist(Long goodsId);

    public void deleteByOrderId(Long orderId);
}
